 <template>
     <fieldset>
         <legend>兄弟</legend>
        <h1> {{msg}} </h1>
        <button @click="give">aaa</button>
     </fieldset>
 </template>
 <script>
 export default {
     methods:{
        give(){
            this.$bus.$emit('receive','菊花')
        } 
     },
     data(){
         return{
             msg:'我叼你妈的',
             gift:"啊我饿"
         }
     }
 }
 </script>